package com.lagou.service;

import com.lagou.domain.ResourceCategory;

import java.util.List;

public interface ResourceCategoryService {


    /*
     * 查询所有资源分类
     * */
    public List<ResourceCategory> findAllResourceCategory();

    /*添加资源分类*/
    public void saveResourceCategory(ResourceCategory resourceCategory);

    /*修改资源分类*/
    public void updateResourceCategory(ResourceCategory resourceCategory);

    /*根据id删除资源*/
    public void deleteResourceCategoryByResourceId(Integer resourceId);

    /*删除资源分类*/
    public void deleteResourceCategoryById(Integer id);
}
